package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.SysGovAffair;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysGovAffairMapper extends BaseMapper<SysGovAffair> {
    List<SysGovAffair> listWithLevel(@Param("level") Integer positionLevel);

    SysGovAffair selectWithLevelAndName(@Param("level")  Integer positionLevel, @Param("name") String name);
}
